include ../config.make

CFLAGS	= $(SH_CCFLAGS) $(STKCFLAGS) $(DFLGS) @DEFS@ \
          -I../Tk -I../Tcl -I../Src -I../Mp $(XINCLUDES) 

OBJ	= blt.o \
	  bltGraph.o bltGrAxis.o bltGrBar.o bltGrElem.o \
	  bltGrHairs.o bltGrLegd.o bltGrLine.o bltGrMisc.o \
	  bltGrPS.o bltGrTag.o  \
          bltCutbuffer.o bltBell.o \
          bltBitmap.o bltBusy.o \
	  bltDragDrop.o bltList.o \
	  bltTable.o bltUtil.o bltWin.o bltHtext.o

all: blt.$(SH_SUFFIX)

blt.$(SH_SUFFIX): $(OBJ)
	$(SH_LOADER) $(SH_LDFLAGS) blt.$(SH_SUFFIX) $(OBJ)
	if test -f a.out ;then mv a.out $*.$(SH_SUFFIX); fi

install:
	if test "$(EXTRA_OBJ)" != "" ; then $(CP) $(EXTRA_OBJ) $(execdir); fi

install.libs:


clean:
	@/bin/rm -f *.o *.$(SH_SUFFIX) core *~ bltConfig.h \
	Makefile config.status config.log
